package com.dadie.dorm.dao;

import com.dadie.dorm.pojo.Student;
import com.dadie.dorm.pojo.query.StudentQuery;

import java.util.List;

public interface IStudentDao {
    List<Student> selectByPage(StudentQuery studentQuery);
    Integer selectTotalCount(StudentQuery studentQuery);

    int deleteById(int id);

    int add(Student student);



    int update(Student student);
    Student getStudentUpdatePage(String id);

    Student selectById(int id);
}
